package com.linkai.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author yamon
 * @since 2021-03-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="InputRebackOrderProduct对象", description="")
public class InputRebackOrderProduct implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
      @TableId(value = "input_rebakc_order_product_id", type = IdType.AUTO)
    private Integer inputRebakcOrderProductId;

    @ApiModelProperty(value = "进货单id")
    private Integer inputRebackOrderId;

    @ApiModelProperty(value = "商品id")
    private Integer productId;

    @ApiModelProperty(value = "商品退货的数量")
    private Integer inpordNum;

    @ApiModelProperty(value = "商品进货时的单价")
    private BigDecimal inpordPrice;

    @ApiModelProperty(value = "库存id")
    private Integer storageId;

    @ApiModelProperty(value = "每一行商品的总价钱")
    private BigDecimal eachSum;

    @ApiModelProperty(value = "商品是否出库")
    private Integer inpordState;

      @TableField(fill = FieldFill.INSERT)
    private Date createTime;

      @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "供应商id")
    private Integer supId;


}
